angular.module('start.user.orderdetailguide.ctrl', [])

  .controller('orderdetailguideCtrl', function($scope, $rootScope,$stateParams, $location, $ionicLoading) {
    console.log("orderdetailguideCtrl");
    $scope.orderId = $stateParams.orderId;



    $scope.calcdateDays = function(start, end) {
      return parseInt((new Date(end).getTime() - new　 Date(start).getTime()) / (86400000));
    };

});
